<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:tiles="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>xliee-办公助手</title>
    <link rel="shortcut icon" type="image/png" th:href="@{/images/logos/favicon.png}"/>
    <link rel="stylesheet" th:href="@{/css/styles.min.css}"/>
    <style>
        footer a {
            color: #55C083;
            text-decoration: none;
        }

        footer a:hover {
            color: #3C8754;
            text-decoration: underline;
        }
    </style>
</head>

<body>
<!--  Body Wrapper -->
<div class="page-wrapper" id="main-wrapper" data-layout="vertical" data-navbarbg="skin6" data-sidebartype="full"
     data-sidebar-position="fixed" data-header-position="fixed">
    <div class="position-relative overflow-hidden radial-gradient min-vh-100 d-flex align-items-center justify-content-center">
        <div class="d-flex align-items-center justify-content-center w-100">
            <div class="row justify-content-center w-100">
                <div class="col-md-8 col-lg-6 col-xxl-3">
                    <div class="card mb-0">
                        <div class="card-body">
                            <a th:href="@{/index}" class="text-nowrap logo-img text-center d-block py-3">
                                <img th:src="@{/images/logos/xliee.svg}">
                            </a>
                            <p class="text-center">xliee-office，您的第二个办公助手</p>
                            <form th:action="@{/doLogin}" th:object="${user}" method="post">
                                <div class="mb-3">
                                    <label for="exampleInputUserName" class="form-label">用户名：</label>
                                    <input type="text" class="form-control" id="exampleInputUserName"
                                           th:field="*{userName}">
                                </div>
                                <div class="mb-4">
                                    <label for="exampleInputPassword1" class="form-label">密码：</label>
                                    <input type="password" class="form-control" id="exampleInputPassword1"
                                           th:field="*{password}">
                                </div>
                                <p th:text="${remind}" style="color: darkred"></p>
                                <div class="d-flex align-items-center justify-content-between mb-4">
                                    <div class="form-check">
                                        <input class="form-check-input primary" type="checkbox" value=""
                                               id="flexCheckChecked" checked>
                                        <label class="form-check-label text-dark" for="flexCheckChecked">
                                            记住密码
                                        </label>
                                    </div>
                                    <a class="text-primary fw-bold" th:href="@{/forgetPass}">忘记密码 ?</a>
                                </div>
                                <button class="btn btn-primary w-100 py-8 fs-4 mb-4 rounded-2">登录</button>
                                <div class="d-flex align-items-center justify-content-center">
                                    <p class="fs-4 mb-0 fw-bold">新用户?</p>
                                    <a class="text-primary fw-bold ms-2"
                                       th:href="@{/register}">快速注册</a>
                                </div>
                                <div class="d-flex align-items-center justify-content-center">
                                    <br><br>
                                    <a th:target="_blank" th:href="@{/readme}">《用户隐私协议》</a>
                                    &nbsp;&nbsp;|&nbsp;&nbsp;
                                    <a th:target="_blank" th:href="@{https://beian.miit.gov.cn/}">豫ICP备2021030639号</a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>